package com.example.yqand4v1_1.dao;

import com.example.yqand4v1_1.beans.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface UserEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User user);

    int insertSelective(User user);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User user);

    int updateByPrimaryKey(User user);

    String selectByName(String name);

    List<User> getCloudList(@Param("list") List<String> list);

    User selectUserByName(@Param("name") String name);
}
